const express = require("express");

const router = express.Router();
const config = require("./config.js");
const homeData = require("./data/home/hotdata.js");
router.get(config.homehot1, (req, res) => {
    console.log(config.homehot1);
    res.send(homeData.hot1);
});

router.get(config.homehot2, (req, res) => {
    res.send(homeData.hot2);
});

module.exports = router;